//
//  ProjectProblem.h
//  nova
//
//  Created by user on 11/06/13.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Problem.h"
#import "novaAppDelegate.h"
#import "PickerView.h"

#define myAppDelegate (novaAppDelegate *) [[UIApplication sharedApplication] delegate]

@class Problem;

@interface ProjectProblem : UIViewController {
	IBOutlet UIScrollView *scroll;
	IBOutlet UILabel *lblProject;
	IBOutlet UILabel *lblDateCreated;
	IBOutlet UIButton *btState;
	IBOutlet UIButton *btResponseOwner;
	IBOutlet UIButton *btResponseFinish;
	IBOutlet UITextView *txtDescription;
	IBOutlet UITextView *txtImpactDescription;
	IBOutlet UITextView *txtResponseDescription;
	Problem * problem;
	IBOutlet UIView *backgroundView;
}

@property (readwrite, assign)  Problem * problem;

-(IBAction) openDetails;
-(IBAction) openComments;
-(IBAction) openHistory;
-(IBAction) textFieldReturn : (id) sender;
-(IBAction) saveProblem;
-(IBAction) btStatusClick : (id) sender;
-(IBAction) btResponseFinish : (id) sender;
-(void) initObjects;

@end
